package com.lsy.jetpackdemo

import android.annotation.SuppressLint
import android.app.Application
import android.content.Context
import dagger.hilt.android.HiltAndroidApp

/**
 * @Author Lsy
 * @Date 2022/10/12 10:40
 */
@HiltAndroidApp
class MyApplication:Application() {
    companion object {
        @SuppressLint("StaticFieldLeak")
        lateinit var mContext:Context
    }

    override fun onCreate() {
        super.onCreate()
        mContext = this
    }
}